var app = getApp();

Page({
    data: {
        opusType:'',
            opusimg:'/hyb_jianzhi/images/workimg.jpg',
            opusurl:'www.baidu.com',
            opusname:'亲子教育展板设计',
            opustime:'2019.09.7',
            opustype:'平面设计'
    },
    onLoad: function(n) {
        var self = this,opusType = n.opusType;
        self.setData({
            opusType:opusType
        })
    },
    homeClick: function(n) {
        this.getform(n.detail.formId), wx.reLaunch({
            url: "/hyb_jianzhi/index/index"
        });
    },
      // 复制链接
   copyUrl: function (e) {
    wx.setClipboardData({
      data: e.currentTarget.dataset.url,
      success: function (res) {
        wx.getClipboardData({
          success: function (res) {
            wx.showToast({
              title: '复制成功'
            })
          }
        })
      }
    })
  },
    onShareAppMessage: function() {}
});